package com.toKnow.model.entity;

import java.sql.Timestamp;

public class ResourceCommentAnswerPub {

    private Integer id;
    private Integer user_id;
    private Integer resource_comment_id;
    private Integer answer_id;
    private String content;
    private Timestamp answer_date;
    private Integer like_number;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getResource_comment_id() {
        return resource_comment_id;
    }

    public void setResource_comment_id(Integer resource_comment_id) {
        this.resource_comment_id = resource_comment_id;
    }

    public Integer getAnswer_id() {
        return answer_id;
    }

    public void setAnswer_id(Integer answer_id) {
        this.answer_id = answer_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getAnswer_date() {
        return answer_date;
    }

    public void setAnswer_date(Timestamp answer_date) {
        this.answer_date = answer_date;
    }

    public Integer getLike_number() {
        return like_number;
    }

    public void setLike_number(Integer like_number) {
        this.like_number = like_number;
    }

    @Override
    public String toString() {
        return "ResourceCommentAnswerPub{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", resource_comment_id=" + resource_comment_id +
                ", answer_id=" + answer_id +
                ", content='" + content + '\'' +
                ", answer_date=" + answer_date +
                ", like_number=" + like_number +
                '}';
    }
}
